package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicPatientMember;
import com.zshan.clinic.database.model.ClinicPatientMemberExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicPatientMemberMapper extends SuperMapper {
    long countByExample(ClinicPatientMemberExample example);

    int deleteByExample(ClinicPatientMemberExample example);

    int deleteByPrimaryKey(Long patientId);

    int insert(ClinicPatientMember row);

    int insertSelective(ClinicPatientMember row);

    List<ClinicPatientMember> selectByExample(ClinicPatientMemberExample example);

    ClinicPatientMember selectByPrimaryKey(Long patientId);

    int updateByExampleSelective(@Param("row") ClinicPatientMember row, @Param("example") ClinicPatientMemberExample example);

    int updateByExample(@Param("row") ClinicPatientMember row, @Param("example") ClinicPatientMemberExample example);

    int updateByPrimaryKeySelective(ClinicPatientMember row);

    int updateByPrimaryKey(ClinicPatientMember row);
}